package com.example.nophase.entity;

import com.example.nophase.common.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class TyBusinessAppDetail {

    @ApiModelProperty(value = "")
    private Integer id;
    /**
     * 主工单id
     */
    @ApiModelProperty(value = "主工单id")
    private Integer mainTicketId;
    /**
     * 申请人姓名
     */
    @ApiModelProperty(value = "申请人姓名")
    private String appUserName;


    /**
     * 申请日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请日期")
    private Date appDate;
    /**
     * 流程环节
     */
    @ApiModelProperty(value = "流程环节")
    private String activitiname;
    /**
     * 状态(0/1)终审未终审
     */
    @ApiModelProperty(value = "状态(0/1)终审未终审")
    private String status;


    /**
     * 版本号
     */
    @ApiModelProperty(value = "版本号")
    private Integer version;
    /**
     * 业务申请单编号
     */
    @ApiModelProperty(value = "业务申请单编号")
    private String businessNo;
    /**
     * 申请总金额
     */
    @ApiModelProperty(value = "申请总金额")
    private BigDecimal appMoney;
    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称")
    private String proName;
    /**
     * 实际批复金额
     */
    @ApiModelProperty(value = "实际批复金额")
    private BigDecimal auditMoney;

    @ApiModelProperty(value = "财务实际批复金额")
    private BigDecimal  financeAuditMoney;

    @ApiModelProperty(value = "项目年初限额")
    private BigDecimal limitMoney;


    @ApiModelProperty(value = "项目累计发生金额")
    private BigDecimal totalMoney;
    /**
     * 申请原因
     */
    @ApiModelProperty(value = "申请原因")
    private String appReason;

//    @ExcelResources(title="是否有发票")
//    @ApiModelProperty(value = "是否有发票")
//    private Bool invoice;

    @ApiModelProperty(value = "实际产值")
    private BigDecimal realMoney;

    @ApiModelProperty(value = "申请节点")
    private String appStep;//	varchar



    @ApiModelProperty(value = "节点比例")
    private Float step_rate;//	float


    @ApiModelProperty(value = "阶段限额")
    private BigDecimal stepLimitMoney;//

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMainTicketId() {
        return mainTicketId;
    }

    public void setMainTicketId(Integer mainTicketId) {
        this.mainTicketId = mainTicketId;
    }

    public String getAppUserName() {
        return appUserName;
    }

    public void setAppUserName(String appUserName) {
        this.appUserName = appUserName;
    }

    public Date getAppDate() {
        return appDate;
    }

    public void setAppDate(Date appDate) {
        this.appDate = appDate;
    }

    public String getActivitiname() {
        return activitiname;
    }

    public void setActivitiname(String activitiname) {
        this.activitiname = activitiname;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo;
    }

    public BigDecimal getAppMoney() {
        return appMoney;
    }

    public void setAppMoney(BigDecimal appMoney) {
        this.appMoney = appMoney;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public BigDecimal getAuditMoney() {
        return auditMoney;
    }

    public void setAuditMoney(BigDecimal auditMoney) {
        this.auditMoney = auditMoney;
    }

    public BigDecimal getFinanceAuditMoney() {
        return financeAuditMoney;
    }

    public void setFinanceAuditMoney(BigDecimal financeAuditMoney) {
        this.financeAuditMoney = financeAuditMoney;
    }

    public BigDecimal getLimitMoney() {
        return limitMoney;
    }

    public void setLimitMoney(BigDecimal limitMoney) {
        this.limitMoney = limitMoney;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getAppReason() {
        return appReason;
    }

    public void setAppReason(String appReason) {
        this.appReason = appReason;
    }

    public BigDecimal getRealMoney() {
        return realMoney;
    }

    public void setRealMoney(BigDecimal realMoney) {
        this.realMoney = realMoney;
    }

    public String getAppStep() {
        return appStep;
    }

    public void setAppStep(String appStep) {
        this.appStep = appStep;
    }

    public Float getStep_rate() {
        return step_rate;
    }

    public void setStep_rate(Float step_rate) {
        this.step_rate = step_rate;
    }

    public BigDecimal getStepLimitMoney() {
        return stepLimitMoney;
    }

    public void setStepLimitMoney(BigDecimal stepLimitMoney) {
        this.stepLimitMoney = stepLimitMoney;
    }
}
